#include <iostream>
#include <set>
#include <map>
#include <stdio.h>
using namespace std;
typedef struct stuInfo
{
    int age;
    char sex;
} stuInfo;
int main()
{
    map<int, int> mymap;

    mymap[7] = 666;
    printf("map:%d\n", mymap[7]);

    map<string, int> mymap2;
    mymap2["xiaozhou"] = 777;
    printf("xiaozhou=%d\n", mymap2["xiaozhou"]);

    map<string, stuInfo> maymap3;
    stuInfo stu;
    stu.age = 18;
    stu.sex = 'm';
    mymap3["xiaozhou"] = stu;

    return 0;
}